package com.domcer.ultra.menu.engine.require;

import acl.vault.VaultByEconomy;
import org.bukkit.entity.Player;

/**
 * @author Sensen
 */
public class CoinsRequire implements Require {

    @Override
    public boolean execute(Player player, String content) {
        double requireCoins = Double.parseDouble(content);
        return VaultByEconomy.has(player, requireCoins);
    }
}
